package cn.mesmile.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.activiti.engine.impl.persistence.entity.CommentEntityImpl;
import org.activiti.engine.task.Comment;

import java.util.List;

/**
 * @author zb
 * @date 2022/1/6 11:27
 * @Description
 */
public interface CommentMapper extends BaseMapper<CommentEntityImpl> {

    /**
     * 通过任务id查询评论
     * @param taskId
     * @return
     */
    List<Comment> selectCommentByTaskId(String taskId);

}
